package com.hontech.bv.net.req

import com.hontech.bv.utils.MacAddr
import com.hontech.bv.utils.Version
import kotlinx.serialization.SerialName

@kotlinx.serialization.Serializable
class LoginReq(

    @SerialName("mac_addr")
    val macAddr: String = MacAddr,

    val version: String = Version
)

@kotlinx.serialization.Serializable
class DeviceInfo(
    val id: Int,

    val name: String,

    @SerialName("mac_addr")
    val macAddr: String,

    val version: String,

    @SerialName("create_timestamp")
    val createTimestamp: Int,
)

@kotlinx.serialization.Serializable
class LoginRes(

    @SerialName("device_info")
    val deviceInfo: DeviceInfo,

    @SerialName("ip_addr")
    val ipAddr: String,

    val location: String,
)






